<template>
    <div class="cont">
        <div class="box">{{state.name}}</div>
    </div>
</template>
<script>
import vue,{ref} from 'vue'
export default {
    name: 'App',
    setup() {
        const state = ref({
            name:'shun'
        })
        return {
            state
        }
    },
}
</script>
<style lang="less" scoped>
.cont{
    .box{
        font-size: 30px;
        color: red;
    }
}
</style>
